package ar.fiuba.tp7552.buildadmin.service.impl;

import java.util.Collection;

import ar.fiuba.tp7552.buildadmin.dao.ResponsableDao;
import ar.fiuba.tp7552.buildadmin.model.builds.Responsable;
import ar.fiuba.tp7552.buildadmin.service.ResponsableService;

public class ResponsableServiceImpl implements ResponsableService {

	private ResponsableDao responsableDao;
	
	public ResponsableServiceImpl(ResponsableDao responsableDao) {
		super();
		this.responsableDao = responsableDao;
	}

	@Override
	public Collection<Responsable> find(String name) {
		return responsableDao.find(name);
	}
	
	@Override
	public Responsable get(Long id) {
		return responsableDao.get(id);
	}

	@Override
	public Collection<Responsable> getAll() {
		return responsableDao.getAll();
	}	

}
